/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package components.util;

/**
 *
 * @author suchangjun
 */
public class VersionInfo {
    
//    package: name='com.funo.commhelper' versionCode='18' versionName='v2.1'
    
    private String packageName;
    
    private String versionCode;
    
    private String versionName;
    
    private String tag="";

    public String getPackageName() {
        return packageName;
    }

    public void setPackageName(String packageName) {
        this.packageName = packageName;
    }

    public String getVersionCode() {
        return versionCode;
    }

    public void setVersionCode(String versionCode) {
        if(versionCode!=null)
        {
            versionCode=versionCode.trim();
        }
        
        
        this.versionCode = versionCode;
    }

    public String getVersionName() {
        return versionName;
    }

    public void setVersionName(String versionName) {
        this.versionName = versionName;
    }

    public String getTag() {
        return tag;
    }

    public void setTag(String tag) {
        this.tag = tag;
    }

    @Override
    public String toString() {
        return "VersionInfo{" + "packageName=" + packageName + ", versionCode=" + versionCode + ", versionName=" + versionName + ", tag=" + tag + '}';
    }
    
    
    
}
